<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>animation</title>
    <link rel="stylesheet" type="text/css" href="../vendor/bootstrap/dist/css/bootstrap.min.css"/>
    <style>
        .box{
            height: 600px;
            width: 60%;
            margin: 150px auto 0;
            position: relative;
        }

        .box .leaf{
            position: absolute;
            width: 300px;
            height: 300px;
            background: linear-gradient(45deg,  rgba(188,190,192,1) 8%,rgba(158,31,99,1) 30%,rgba(158,31,99,1) 100%);
            border-radius: 100% 0;
            transform-origin: 100% 0;
            transform: rotate(45deg);
            margin-top: 300px;
            opacity: .5;
        }

        .leaf.leaf--2{
            -webkit-animation: leaf2 5s ease infinite;
        }

        .leaf.leaf--3{
            -webkit-animation: leaf3 5s ease infinite;
        }

        .leaf.leaf--4{
            -webkit-animation: leaf4 5s ease infinite;
        }

        .leaf.leaf--5{
            -webkit-animation: leaf5 5s ease infinite;
        }

        @-webkit-keyframes leaf2 {
            0%{
                transform: rotate(45deg);
            }
            100%{
                transform: rotate(90deg);
            }
         }

        @-webkit-keyframes leaf3 {
            0%{
                transform: rotate(45deg);
            }
            100%{
                transform: rotate(135deg);
            }
        }

        @-webkit-keyframes leaf4 {
            0%{
                transform: rotate(45deg);
            }
            100%{
                transform: rotate(180deg);
            }
        }

        @-webkit-keyframes leaf5 {
            0%{
                transform: rotate(45deg);
            }
            100%{
                transform: rotate(225deg);
            }
        }
    </style>
</head>
<body>

<div class="container">
    <div class="box">
        <div class="leaf"></div>
        <div class="leaf leaf--2"></div>
        <div class="leaf leaf--3"></div>
        <div class="leaf leaf--4"></div>
        <div class="leaf leaf--5"></div>
    </div>
</div>

<footer>

</footer>

<script type="text/javascript" src="../vendor/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../vendor/ScrollMagic/scrollmagic/minified/ScrollMagic.min.js"></script>
</body>
</html>